package com.david.autostarter.logger.annotation;


import com.david.autostarter.logger.starter.AbstractMyLogFactoryBean;
import com.david.autostarter.logger.starter.MyLogAutoConfigurationRegistrar;
import com.david.autostarter.logger.starter.MyLogFactoryBean;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Target;

@Documented
@Target(ElementType.TYPE)
@Inherited
@Import(MyLogAutoConfigurationRegistrar.class)
public @interface EnableMyLogAutoConfiguration {
    String basePackage() default "";
    //设置代理类的实现，默认为使用JDK动态代理
    Class<? extends AbstractMyLogFactoryBean> implClass() default MyLogFactoryBean.class;


}
